/*
 * @Author: Wang WeiHao
 * @Date: 2024-09-26 14:42:53
 * @LastEditors: Wang WeiHao
 * @LastEditTime: 2024-10-12 17:36:25
 * @Description:
 * @FilePath: \geo-base-dm\src\api\ai-processing\types.ts
 */
// 数据列表项
export interface dataListItem {
	id: number;
	fileName: string;
	fileMd5: string;
	filePath: string;
	fileSize: string;
	uploadStatus: number;
	createTime: string;
	updateTime: string;
	geo?: string;
	type?: string;
	checked?: boolean;
}
// 数据列表数
export interface Tree {
	name: string;
	children: Tree[];
	files: dataListItem[];
	id?: number;
	isCollapsed?: boolean;
}
// 任务列表项
export interface taskListItem {
	searchValue: null;
	createBy: string;
	createTime: string;
	updateBy: string;
	updateTime: string;
	remark: string;
	params: NonNullable<unknown>;
	taskId: number;
	taskType: number;
	originalFilePath: string;
	threshold: number;
	destinationFilePath: string;
	taskStatus: number;
	interpretType: string;
	taskProgress: number;
	taskProgressList: null;
	area: string;
	resolution: string;
	preFileId: string;
	lastFileId: null;
	preFilePath: string;
	lastFilePath: null;
	tifFilePath: string;
}
// 任务列表返回值
export interface taskListRes {
	total: number;
	rows: taskListItem[];
	code: number;
	msg: string;
}
// 创建任务参数
export interface createTaskParams {
	preFileId: number;
	preFilePath: string;
	resolution: string;
	interpretType: string;
	taskType: number;
	area: string;
	areaType: string;
	threshold: number;
}
// 矢量信息
export interface geoListRes {
	total: number;
	rows: geoInfo[];
	code: number;
	msg: string;
}
export interface geoInfo {
	searchValue: null;
	createBy: null;
	createTime: null;
	updateBy: null;
	updateTime: null;
	remark: null;
	params: NonNullable<unknown>;
	id: number;
	taskId: number;
	geo: string;
	interpretType: string;
	area: number;
	center: string;
}
